package com.ruoyi.project.purchase.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 订单关联发票信息对象 ry_order_bill
 *
 * @author 萧雪
 * @date 2022-10-25
 */
public class RyOrderBill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 发票号 */
    @Excel(name = "发票号")
    private String billNum;

    /** 发票金额 */
    @Excel(name = "发票金额")
    private BigDecimal billMoney;

    /** 账单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "账单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date billTime;

    /** 创建人 */
    private Long creater;

    /** 项目名 */
    @Excel(name = "项目名")
    private String projectName;

    /** 项目代号 */
    @Excel(name = "项目代号")
    private String projectCode;

    /** 采购合同编号 */
    @Excel(name = "采购合同编号")
    private String contractNumber;

    /** 关联订单号 */
    private String linkNumber;

    /**
     * 订单编号
     */
    private String number;

    /** 备注1 */
    private String remark1;

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getContractNumber() {
        return contractNumber;
    }

    public void setContractNumber(String contractNumber) {
        this.contractNumber = contractNumber;
    }

    public String getLinkNumber() {
        return linkNumber;
    }

    public void setLinkNumber(String linkNumber) {
        this.linkNumber = linkNumber;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId()
    {
        return orderId;
    }
    public void setBillNum(String billNum)
    {
        this.billNum = billNum;
    }

    public String getNumber() {
        return number;
    }
    public void setNumber(String number) {
        this.number = number;
    }

    public String getBillNum()
    {
        return billNum;
    }
    public void setBillMoney(BigDecimal billMoney)
    {
        this.billMoney = billMoney;
    }

    public BigDecimal getBillMoney()
    {
        return billMoney;
    }
    public void setBillTime(Date billTime)
    {
        this.billTime = billTime;
    }

    public Date getBillTime()
    {
        return billTime;
    }
    public void setCreater(Long creater)
    {
        this.creater = creater;
    }

    public Long getCreater()
    {
        return creater;
    }
    public void setRemark1(String remark1)
    {
        this.remark1 = remark1;
    }

    public String getRemark1()
    {
        return remark1;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("billNum", getBillNum())
            .append("billMoney", getBillMoney())
            .append("billTime", getBillTime())
            .append("createTime", getCreateTime())
            .append("creater", getCreater())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("remark1", getRemark1())
            .toString();
    }
}
